﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class TbUser
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int Userid { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string Username { get; set; } = null!;
        /// <summary>
        /// 输入码
        /// </summary>
        public string? Inputcode { get; set; }
        /// <summary>
        /// 登录码
        /// </summary>
        public string? Landingcode { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }
        /// <summary>
        /// 有效时间
        /// </summary>
        public DateTime? Validtime { get; set; }
        /// <summary>
        /// 登录错误锁
        /// </summary>
        public short Loginerrorlock { get; set; }
        /// <summary>
        /// 登录错误次数
        /// </summary>
        public short Loginerrornum { get; set; }
        /// <summary>
        /// 上次登录时间
        /// </summary>
        public DateTime? Lastlogintime { get; set; }
        /// <summary>
        /// 密码修改时间
        /// </summary>
        public DateTime? Passwordmodifiedtime { get; set; }
        /// <summary>
        /// 锁定时间
        /// </summary>
        public int Lockingtime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public short Status { get; set; }
        /// <summary>
        /// 职工id
        /// </summary>
        public int Workerid { get; set; }
        /// <summary>
        /// 皮肤代码
        /// </summary>
        public string? Skincode { get; set; }
        /// <summary>
        /// 长码
        /// </summary>
        public string? Langcode { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public string? Hospitalcode { get; set; }
        /// <summary>
        /// 医院名称
        /// </summary>
        public string? Hospitalname { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? Createby { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Createdate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? Updateby { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Updatedate { get; set; }
        /// <summary>
        /// 已删除的ID
        /// </summary>
        public int? Removedid { get; set; }
        /// <summary>
        /// 拼音
        /// </summary>
        public string? Py { get; set; }
        /// <summary>
        /// 删除日期
        /// </summary>
        public DateTime? Removeddate { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdeleted { get; set; }
        /// <summary>
        /// 是否管理员
        /// </summary>
        public bool? Isadminuser { get; set; }
        /// <summary>
        /// 字体大小
        /// </summary>
        public int? Fontsize { get; set; }
        /// <summary>
        /// 替代源号
        /// </summary>
        public bool? AlterSourceNo { get; set; }
        public DateTime? ExpirationDate { get; set; }
        public DateTime? EnableDate { get; set; }
    }
}
